/* nav */
nav {
    line-height: 28px;
    padding: 0 10px;
    height: 28px;
}

nav a {
    color: #fff;
    float: left;
    margin-right: 10px;
}

nav a:hover {
    color: #ededed;
}

/* post */
.post h2 {
    font-size: 15px;
}

.title + .content {
    padding-top: 7px;
}

.post-media,
.post-text {
    padding-top: 7px;
}

.post-media:first-child,
.post-text:first-child {
    padding-top: 0;
}

.post .details {
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 0;*/
    padding: 7px 0 0 0;
    line-height: 12px;
    height: 12px;
    outline: 0;
}

.post .details span {
    color: #666;
    font-size: 12px;
    float: left;
}

.post .details a {
    font-size: 12px;
    float: left;
    margin: 0 0 0 5px;
}

/* post-media */
.post-media::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
}

.post-media .thumb {
    /*float: left;*/
    /*margin-right: 7px;*/
    width: 100%;
    margin-bottom: 5px;
}

.post-media .thumb img {
    /*height: 85px;*/
    width: 100%;
    display: block;
}

.post-media .title {

}

.post-media .title h3 {
    font-weight: 400;
    height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-media .fields {
    overflow: hidden;
}

.post-media .field {
    font-size: 12px;
    padding: 5px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-media .description {
    line-height: 17px;
    font-size: 13px;
    color: #666;
    padding: 5px 0 0;
    max-height: 66px;
    overflow: hidden;
}

.post-media .field span {
    color: #666;
}

.post-media .audio-player {
    height: 33px;
    /*overflow: hidden;*/
    position: relative;
    /*max-width: 800px; chrome最大宽度*/
    margin-top: 4px;
}

.post-media .mejs-container .mejs-controls {
    height: 32px;
}

.post-media .audio-player audio,
.post-media .audio-player embed {
    height: 33px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.post-media + .video-player {
    margin-top: 7px;
}

.video-player {
    max-width: 560px;
    position: relative;
    height: auto;
}

.video-player img {
    display: block;
    width: 100%;
}

.video-player iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* post-text */
.post-text {
    color: #444;
}

.post-text p {
    padding-top: 2px;
    line-height: 1.318;
}

.post-text p:first-child {
    padding-top: 0;
    margin-top: -2px;
}

.post-text p:last-child {
    margin-bottom: -2px;
}

.post-text ul,
.post-text ol {
    margin-left: 2em;
}

.post-text ul {
    list-style: disc outside;
}

.post-text ol {
    list-style: decimal outside;
}

.post-text .img-thumbnail {
    text-indent: 0;
}

.post-text img {
    max-width: 100%;
    display: block;
}

.post-text blockquote {
    border-left: 3px solid #eee;
    padding: 0 0 0 7px;
    font-size: 13px;
    margin-top: 5px;
}

/* post-audio */
.audio {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.album-logo {
    float: left;
    margin-right: 7px;
}

.album-logo .img {
    height: 85px;
    float: left;
}

.album-logo .img img {
    width: auto;
    height: 100%;
}

.song {
    overflow: hidden;
}

.album-title,
.artist-name {
    font-size: 12px;
    padding: 5px 0 0;
}

.album-title span,
.artist-name span {
    color: #666;
}

.song-player {
    height: 33px;
    overflow: hidden;
    position: relative;
    /*max-width: 800px; chrome最大宽度*/
    max-width: 400px;
    margin-top: 4px;
}

.song-player audio,
.song-player embed {
    height: 33px;
    width: 100%;
}

/*about*/
.about {

}

.about .head-pic img {
    display: block;
    width: 100%;
}

.about p {
    padding-top: 5px;
    overflow: hidden;
}

.about p b {
    float: left;
    width: 40px;
    text-align: right;
}

/* tags */
.tags {
    font-size: 12px;
    padding: 5px 0 0;
    overflow: hidden;
}

.tags span,
.tags a {
    float: left;
    background: #dcdcdc;
    padding: 0 5px;
    color: #666;
    margin: 0 5px 0 0;
    border: 1px outset #666;
}

.tags a {
    background: #34382c;
    color: #fff;
}

.tags a:hover {
    border-style: inset;
}

/* form */
.form {

}

.form button {
    margin-left: 120px;
    line-height: 23px;
    padding: 0 10px;
    background: #fafafa;
    border: 1px outset #ccc;
}

.form-group {
    overflow: hidden;
    margin-bottom: 5px;
    line-height: 20px;
}

.form-group label {
    float: left;
    width: 120px;
}

.form-group .form-control {
    float: left;
    background: none;
    height: 14px;
    line-height: 14px;
    margin: 0;
    border: 1px inset #ddd;
    box-shadow: 0 0 1px rgba(0, 0, 0, .04) inset;
    padding: 3px;
    width: 300px;
    background: #fdfdfd;
    outline: none;
}

.form-group .form-control + button {
    margin-left: 5px;
    height: 22px;
    line-height: 20px;
}

.form-group select.form-control {
    height: 22px;
    width: 308px;
}

.form-group textarea.form-control {
    height: 80px;
}

.form-media {
    overflow: hidden;
    margin-bottom: 5px;
}

.form-media {
    border: 1px solid #e0e0e0;
    box-shadow: 0 0 1px rgba(0, 0, 0, .1);
    padding: 0 0 5px;
    margin: 5px;
}

.form-media div {
    overflow: hidden;
    padding: 5px 5px 0;
}

.form-media b {
    float: left;
    margin-right: 10px;
    width: 105px;
    text-align: right;
}

.form-media p {
    overflow: hidden;
}

.form-media table {
    width: 100%;
}

.form-media td {
    padding: 5px;
    vertical-align: middle;
}

.form-media thead {
    background: #ededed;
}

.form-media tbody tr:nth-child(odd) {
    background: #eee;
}

.form-media tbody tr:hover {
    background: #dcdcdc;
    cursor: pointer;
}

.form-media tbody tr img {
    display: block;
    height: 30px;
}

.form-media tbody tr.current,
.form-media tbody tr.current:hover {
    background: #3b9dd5;
    color: #fff
}

/* 分页 */
.pagination {
    overflow: hidden;
    text-align: center;
}

.pagination li {
    display: inline-block;
    padding: 0 5px;
    line-height: 14px;
    font-size: 12px;
}

/* 写博客 */
.write-type {
    height: 25px;
    line-height: 23px;
    border-bottom: 1px solid #ddd;
    margin: -1px 0 10px;
}

.write-type span {
    float: left;
    border: 1px solid #ddd;
    margin-left: 10px;
    position: relative;
    top: 1px;
    padding: 0 10px;
    background: #efefef;
    cursor: pointer;
}

.write-type .current {
    border-bottom: 0;
    background: #fefefe;
    height: 24px;
}